package com.qianfeng.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qianfeng.mapper.DeptDao;
import com.qianfeng.pojo.Dept;
@Service
public class DeptServiceImpl implements DeptService{

	@Autowired
	private DeptDao deptDao;
	@Override
	public List<Dept> findDepts() {
		
		List<Dept> deptList=deptDao.getDeptList();
		return deptList;
	}

}



















